export const useLoading = defineStore('loaidng', {
    state: () => ({
        // 用户列表表格
        tableLoading: {
            show: true
        }
    }),

    getters: {
        // 获取用户列表表格Loading
        getTableLoading: (state) => {
            return state.tableLoading.show;
        }
    },

    actions: {
        setTableLoading(value: boolean) {
            this.tableLoading.show = value;
        }
    }
})